<?php

return [
    'menu' => [
        'agent' => [
            'name' => '代理管理',
            'ico' => 'layui-icon-home',
            'sub' => [
                'agent_edit' => ['name' => '管理代理', 'uri' => '/agent/agent_edit', 'show' => false, 'method' => 'get|post'],
                'product' => ['name' => '产品列表', 'uri' => '/agent/product', 'show' => true, 'method' => 'get'],  //index 方法名
                'product_del' => ['name' => '产品删除', 'uri' => '/agent/product_del', 'show' => false, 'method' => 'get|post'],
                'product_status' => ['name' => '推荐、隐藏产品', 'uri' => '/agent/product_status', 'show' => false, 'method' => 'post'],
                'product_edit' => ['name' => '编辑添加产品', 'uri' => '/agent/product_edit', 'show' => false, 'method' => 'get|post'],

            ],
            'show' => true,
        ],
        'orders' => [
            'name' => '服务订单',
            'ico' => 'layui-icon-form',
            'sub' => [
                'index' => ['name' => '订单列表', 'uri' => '/orders/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'order_edit' => ['name' => '查看订单', 'uri' => '/orders/order_edit', 'show' => false, 'method' => 'get|post'],
                'order_status' => ['name' => '操作订单', 'uri' => '/orders/order_status', 'show' => false, 'method' => 'get|post'],

            ],
            'show' => true,
        ],
        'user' => [
            'name' => '会员管理',
            'ico' => 'layui-icon-username',
            'sub' => [
                'index' => ['name' => '客户列表', 'uri' => '/user/index', 'show' => true, 'method' => 'get'],  //index 方法名
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统设置',
            'ico' => 'layui-icon-set',
            'sub' => [
                'banner' => ['name' => '轮播图管理', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'],  //index 方法名
                'banner_edit' => ['name' => '轮播图编辑、管理', 'uri' => '/system/banner_edit', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '轮播图删除', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],

    ]
];
